{% extends "stories/base.html" %}

{% block head_title %}Edit Page {{page.pagenum}} : {{ page.story.headline }}{% endblock %}

{% block subnav %}
<ul>
<li><a href="{% url stories_story_pages page.story.id %}">List Pages</a></li>
<li><a href="{% url stories_edit_story page.story.id %}">Edit Story</a></li>
<li><a href="{% url stories_story_list %}">Story List</a></li>
</ul>
{% endblock %}


{% block main_content %}
<h2>Page {{ page.pagenum }} of <a href="{% url stories_story_pages page.story.id %}">{{ page.story.headline }}</a></h2>
<p>Using {{page.columns|length}} Column{{page.columns|length|pluralize}}</p>
<div>

    <div style="float:right;width:300px;background:#DDD;border:1px solid">
        <h3>Story Media List</h3>

        {% include "stories/widgets/story_media_summary.html" %}

        <!--
        <p><a id="menu_add_media" href="#">Add Media</a></p>
        <div id="add_media_types">
            <ul>
                <li><a class="add_media" href="{% url multimedia_browse_type "image" %}">Add Image</a></li>
                <li><a class="add_media" href="{% url multimedia_browse_type "video" %}">Add Video</a></li>
            </ul>

        </div>-->

    </div>

    <p>
        <form method="post">
            {{form}}
            <input type="submit" value="Submit"/>
        </form>

    </p>
    <div id="media_selection" style="background:#DDD;margin-top:10px">

    </div>
</div>
{% endblock main_content %}
